import request from '@/utils/request'
import { getServicePath } from '@/api/baseUrlConfig'
const servicePath = getServicePath()

// 个人党费统计
export function statisticsPerson (data) {
  return request({
    url: (servicePath?.zhdjProjectServer || '') + '/dues-party-member-info/statisticsIndividualPartyExpenses',
    method: 'get',
    params: data
  })
}

// 组织党费统计
export function statisticsOrganize (data) {
  return request({
    url: (servicePath?.zhdjProjectServer || '') + '/dues-party-member-info/organizeStatisticsPartyExpenses',
    method: 'get',
    params: data
  })
}
